Tag Link | [Image->Rotate] | Category | Image |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Rotates an image clockwise by the specified amount in degrees (integer value of 0-360). An optional
[Image Variable->(Rotate: Integer,
Required Parameters | |
---|---|
Degrees | Degrees y which to rotate the image (integer value of 0-360). |
Optional Parameters | |
-BGColor | Specifies the hex color to fill the blank areas of the resulting image. |
To rotate an image:
Use the [Image->Rotate] tag on a defined image variable. The following example rotates the image 60 degrees clockwise on top of a white background.
[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->(Rotate: 60,
[$MyImage->(Save: '/images/image.jpg')]